#ifndef DESCRIPTION_H
#define DESCRIPTION_H

#include "dtwentycore_global.h"
#include <modelitem.h>


class DTWENTYCORESHARED_EXPORT Description : public ModelItem
{
    Q_OBJECT

    Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged USER true)
    QString m_text;


public:

    Q_INVOKABLE Description(QObject *parent = 0);
    Description(const Description& other);

    QString text() const;


signals:

    void textChanged(QString arg);


public slots:

    void setText(QString arg);


};


Q_DECLARE_METATYPE(Description)


#endif // DESCRIPTION_H

